#include "realoperation.h"

RealOperation::RealOperation() : FormulaElement() {
}

RealOperation::~RealOperation() {
}

void RealOperation::createHumanReadeableToString(LinkedList<std::string>& toStringStack) {
    std::string& returnString = toStringStack.pop();
    std::string& myTemporaryString = toString();
    returnString.insert(0,myTemporaryString);
    delete &myTemporaryString;
    std::string& myTemporaryString2=toStringStack.pop();
    returnString.insert(0,myTemporaryString2);
    delete &myTemporaryString2;
    returnString.insert(0,"(");
    returnString.append(")");
    toStringStack.addAtEnd(returnString);
}
